package com.mvp.shq.washer.entity.shop;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/10/13.
 */

public class TotalOrderListData implements Serializable{

    /**
     * companyId : 商家id
     * ecProductUnitDtoList: 商品列表
     * payMode : 购买模式
     */

    private String companyId;
    private List<ProductUnit> ecProductUnitDtoList;
    private List<Product> products;
    private String payMode;

    public TotalOrderListData(){}

    public TotalOrderListData(String companyId, List<Product> products) {
        this.companyId = companyId;
        this.products = products;
    }

    public TotalOrderListData(String companyId, List<ProductUnit> ecProductUnitDtoList, String payMode) {
        this.companyId = companyId;
        this.ecProductUnitDtoList = ecProductUnitDtoList;
        this.payMode = payMode;
    }


    @Override
    public String toString() {
        return "TotalOrderListData{" +
                "companyId='" + companyId + '\'' +
                ", ecProductUnitDtoList=" + ecProductUnitDtoList +
                ", payMode='" + payMode + '\'' +
                '}';
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public List<ProductUnit> getEcProductUnitDtoList() {
        return ecProductUnitDtoList;
    }

    public void setEcProductUnitDtoList(List<ProductUnit> ecProductUnitDtoList) {
        this.ecProductUnitDtoList = ecProductUnitDtoList;
    }

    public String getPayMode() {
        return payMode;
    }

    public void setPayMode(String payMode) {
        this.payMode = payMode;
    }

    public List<Product> getProducts() {
        return products;
    }

    public void setProducts(List<Product> products) {
        this.products = products;
    }
}
